package com.example.bookstore.response

import com.fasterxml.jackson.annotation.JsonInclude
import javax.servlet.http.HttpServletRequest

/**
 * Created by IntelliJ IDEA.
 * User: lvshe
 * Date: 2019/8/13
 * Time: 20:13
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
class ErrorResponse(val message:String, request: HttpServletRequest) {

    val path: String = request.requestURI

}

